<div class="p-3 mb-3 nav-tabs-custom">

    <div class="row"  style="margin-left: 2%">
        <div class="col-12">
            <h4>下单用户</h4>
        </div>
    </div>
    <hr class="row" >
    <div class="row invoice-info" style="margin-left: 2%">
        <div class="col-sm-4 invoice-col">
            <address>
                <p><strong>用户id：</strong><?php echo e($user_data['id'], false); ?></p>
                <p><strong>头像：</strong><a href="<?php echo e($user_data['avatar'], false); ?>" class="grid-popup-link">
                        <img src="<?php echo e($user_data['avatar'], false); ?>" style="max-width:30px;max-height:30px" class="img img-thumbnail">
                    </a></p>
            </address>
        </div>

        <div class="col-sm-4 invoice-col">
            <address>
                <p><strong>手机号：</strong><?php echo e($user_data['phone'], false); ?></p>
                <p><strong>注册时间：</strong><?php echo e($user_data['created_at'], false); ?></p>
            </address>
        </div>

        <div class="col-sm-4 invoice-col">
            <address>
                <p><strong>昵称：</strong><?php echo e($user_data['nickname'], false); ?></p>
                <p><strong>状态：</strong><?php echo e(empty($user_data['status'])?"禁用":"启用", false); ?></p>

            </address>
        </div>

    </div>
    <div class="row"  style="margin-left: 2%">
        <div class="col-12">
            <h4>订单</h4>
        </div>
    </div>
    <hr class="row" >
    <div class="row invoice-info" style="margin-left: 2%">
        <div class="col-sm-4 invoice-col">
            <address>
                <p><strong>订单号：</strong><?php echo e($order_data['order_sn'], false); ?></p>
                <p><strong>支付方式：</strong><?php echo e($order_data['type'], false); ?></p>
                <p><strong>实付金额：</strong><?php echo e($order_data['amount'], false); ?></p>

            </address>
        </div>

        <div class="col-sm-4 invoice-col">
            <address>
                <p><strong>状态：</strong><?php echo e($order_data['status'], false); ?></p>
                <p><strong>送达时间：</strong><?php echo e($order_data['service_date'], false); ?></p>
                <p><strong>优惠券抵扣：</strong><?php echo e($order_data['discount_price'], false); ?></p>

            </address>
        </div>

        <div class="col-sm-4 invoice-col">
            <address>
                <p><strong>支付时间：</strong><?php echo e($order_data['pay_time'], false); ?></p>
                <p><strong>订单金额：</strong><?php echo e($order_data['total_price'], false); ?></p>
                <p><strong>上楼费：</strong><?php echo e($order_data['todoor_amount'], false); ?></p>
            </address>
        </div>
    </div>

    <div class="row"  style="margin-left: 2%">
        <div class="col-12">
            <h4>收货信息</h4>
        </div>
    </div>
    <hr class="row" >
    <div class="row invoice-info" style="margin-left: 2%">
        <div class="col-sm-4 invoice-col">
            <address>
                <p><strong>收货人：</strong><?php echo e($user_address_data['name'], false); ?></p>
                <p><strong>楼层：</strong><?php echo e($user_address_data['floor'], false); ?></p>
                <p><strong>详细地址：</strong><?php echo e($user_address_data['address'], false); ?></p>
            </address>
        </div>

        <div class="col-sm-4 invoice-col">
            <address>
                <p><strong>收货电话：</strong><?php echo e($user_address_data['mobile'], false); ?></p>
                <p><strong>门牌号：</strong><?php echo e($user_address_data['house_number'], false); ?></p>
            </address>
        </div>

        <div class="col-sm-4 invoice-col">
            <address>
                <p><strong>楼梯类型：</strong><?php echo e($user_address_data['stair_type']==1?"电梯":"步梯", false); ?></p>
                <p><strong>定位地址：</strong><?php echo e($user_address_data['locating_address'], false); ?></p>

            </address>
        </div>
    </div>

    <div class="row"  style="margin-left: 2%">
        <div class="col-12">
            <h4>商品信息</h4>
        </div>
    </div>
    <hr class="row" >
    <div class="row invoice-info" style="margin-left: 2%">
        <div class="col-12 table-responsive">
            <table class="table table-striped">
                <thead>
                <tr>
                    <th>商品封面</th>
                    <th>商品名称</th>
                    <th>商品分类</th>
                    <th>商品价格</th>
                    <th>下单数量</th>
                    <th>总价</th>
                    <th>实付</th>
                    <th>配送费</th>
                    <th>水票抵扣</th>
                    <th>优惠券抵扣</th>
                </tr>
                </thead>
                <tbody>
                <?php foreach($order_detail_data as $key=>$val){?>
                <tr>
                    <td><a href="<?php echo e($val['goods_data']['goods_cover'], false); ?>" class="grid-popup-link">
                            <img src="<?php echo e($val['goods_data']['goods_cover'], false); ?>" style="max-width:30px;max-height:30px" class="img img-thumbnail">
                        </a></td>
                    <td><?php echo e($val['goods_data']['goods_title'], false); ?></td>
                    <td><?php echo e($val['goods_data']['goods_type_name'], false); ?></td>
                    <td><?php echo e($val['goods_data']['goods_price'], false); ?></td>
                    <td><?php echo e($val['number'], false); ?></td>
                    <td><?php echo e($val['total_price'], false); ?></td>
                    <td><?php echo e($val['amount'], false); ?></td>
                    <td><?php echo e($val['distribution_fee'], false); ?></td>
                    <td><?php echo e($val['water_ticket_deduction'], false); ?></td>
                    <td><?php echo e($val['coupon_deduction'], false); ?></td>
                </tr>
                <?php }?>
                </tbody>
            </table>
        </div>

    </div>
</div><?php /**PATH /www/wwwroot/shenbao/resources/views/admin/order/detail.blade.php ENDPATH**/ ?>